<div class="album wp-20" ui-view="container">
    <div class="head_title">
        <span class="jump-color" ui-sref="main.transcoding({pageNo:1})">转码管理</span>
        <span class="tit-color"> / 节目详情</span>
    </div>
    <div class="searchWapper white-background">
        <div class="form-group searchLump search-condition">
            <div class="searchTitle">搜索：</div>
            <div class="search-select">
                <select ng-model="search.key"
                        ng-options="fileName.key  as fileName.value for fileName in fileNames"></select>
                <input type="text" class="input width-150"  ng-model="search.value" ui-event="{ keyup : 'keyup($event,search.value)' }">
                <input type="button" class="btn btn-primary" value="搜索" style="margin-top: -3px" ng-click="findData()">

            </div>
        </div>

        <div class="form-group searchLump">
            <div class="searchTitle">筛选：</div>
            <div class="search-select">
                <select ng-model="search.convertStatus"
                        ng-options="status.key  as status.value for status in transcodingStatus"
                        ng-change="convertStatusChange()"></select>

            </div>

        </div>

    </div>

    <div class="white-background" style="margin:15px  0">

        <label style="font-weight: 800;font-size: large;padding: 10px">{{albumName}} </label>专辑_ID:{{albumId}}
        <table class="table table-bordered table-hover table-page">

            <thead>
            <tr>

                <th>序号</th>
                <th>节目_ID</th>
                <th>节目名称</th>
                <th>节目时长</th>
                <th>审核时间</th>
                <th>转码时间</th>
                <th>转码状态</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="program in programs">


                <td>
                    {{program.sort}}
                </td>
                <td>
                    {{program.programId}}
                </td>

                <td>
                    {{program.programName}}
                </td>
                <td>
                    {{program.duration}}
                </td>
                <td>
                    {{program.reviewTime}}
                </td>
                <td>
                    {{program.convertTime}}
                </td>
                <td ng-class="{'green':program.convertStatus==90,'yellow':program.convertStatus==91,'red':program.convertStatus==92}">
                    {{table[program.convertStatus]}}
                </td>

                <td>
                    <a style="padding-left: 10px" class="time-out" ui-sref="main.transcoding.programs.detail({programId:program.programId})">文件转码</a>
                </td>
            </tr>
            </tbody>
        </table>
    </div>

    <div class="panel-footer paging">
        <s-pagination conf="paginationConf"></s-pagination>
    </div>





    <!--<a ui-sref="campaigns.detail({campaignsId:1})"  ui-sref-opts="{inherit:false}">aaaaa</a>-->
</div>
